package com.pluto.question.util;

import java.util.Calendar;
import java.util.Date;

public class CodeUtil {
	public static String geneUserCode() {
		return "u"+getTime();
	}
	public static String geneCommentCode() {
		return "c"+getTime();
	}
	
	public static String geneCode(String prefix) {
		return prefix+getTime();
	}
	private static long getTime() {
		return System.currentTimeMillis();
	}
}
